Frame Class Reference

#include <Frame.h>

List of all members.

Public Member Functions

 Frame (int id)
void deleteContents ()
osg::ref_ptr< osg::Group > getRoot ()
int getFrameId (void)

Private Attributes

int frameID
osg::ref_ptr< osg::Group > sgRoot


Detailed Description

A Frame class.This class is used for holding information of a keyframe.

Definition at line 5 of file Frame.h.


Constructor & Destructor Documentation

Frame::Frame (  int  id  ) 
 

A constructor. Initializes sgRoot and frameID variables.

Parameters:
id an integer argument.

Definition at line 2 of file Frame.cpp.

References frameID, and sgRoot.


Member Function Documentation

void Frame::deleteContents (   ) 
 

delete all the content of the scene root.

Definition at line 8 of file Frame.cpp.

References sgRoot.

int Frame::getFrameId (  void   ) 
 

returns id of the keyframe.

Returns:
The frameID variable

Definition at line 17 of file Frame.cpp.

References frameID.

osg::ref_ptr< osg::Group > Frame::getRoot (   ) 
 

returns reference to the sgRoot.

Returns:
The sgRoot variable

Definition at line 13 of file Frame.cpp.

References sgRoot.


Member Data Documentation

int Frame::frameID [private]
 

a private variable. It holds id of the keyframe.

Definition at line 13 of file Frame.h.

Referenced by Frame(), and getFrameId().

osg::ref_ptr<osg::Group> Frame::sgRoot [private]
 

a private variable. It holds scene root of the keyframe.

Definition at line 19 of file Frame.h.

Referenced by deleteContents(), Frame(), and getRoot().


The documentation for this class was generated from the following files:
Generated on Sun May 28 18:54:13 2006 for TraffEdu by  doxygen 1.4.6-NO